package com.lcxw.hxzbapi.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface CoinMapper {

    /**
     * 获取兑换率 方法，即1人民币可以兑换多少虚拟货币
     */
    @Select("SELECT ratio from ywpd_baseconfig where id = 1")
    int getRatio();

}
